package com.nintendo.mapper;

import com.nintendo.entity.pojo.Dish;

import java.util.List;

public interface DishDao {
    int deleteByPrimaryKey(Integer id);

    int insert(Dish record);

    int insertSelective(Dish record);

    Dish selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(Dish record);

    int updateByPrimaryKeyWithBLOBs(Dish record);

    int updateByPrimaryKey(Dish record);

    List<Dish> selectAll();

    Double findByDishName(String dishName);

    Dish selectById(int dishId);

    void deleteById(int dishId);

    void update(Dish dish);
}